#ifndef __MY_IIC_H
#define __MY_IIC_H

#include "my_define.h"


#define EGSS_REG_LEN 20
#define EGSS_RX_LEN 20

typedef struct{
	u8 tx_index;
	u8 rx_index;
	u8 reg[EGSS_REG_LEN];
	u8 rx_buf[EGSS_RX_LEN];
	u8 addr;
}sI2C_t;
extern sI2C_t siic;

void egss_init(void);
void egss_iic_task(void);


#endif
